package dao;

import domain.Blog;
import java.util.List;
import java.util.Map;

public interface BlogDao {
    int addBlog(Blog blog);

    int updateBlog(Map<String, Object> map);

    List<Blog> queryBlogIF(Map<String,Object> map);

    List<Blog> queryBlogByChoose(Map<String,Object> map);

    List<Blog> queryBlogIF2(Map<String, Object> map);

    List<Blog> queryBlogForeach(Map<String, Object> map);
}
